package com.chinacoal.microservice.service;

import com.chinacoal.microservice.pojo.CcmsSmartleasingBuilding;
import com.chinacoal.microservice.util.CodeMsg;
import com.chinacoal.microservice.util.QueryCriteria;
import com.chinacoal.microservice.util.Result;

import java.util.List;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 房源管理首页实现接口
 * @date 2020-11-06 18：48
 */
public interface BuildingInformationService {


    Result<List<CcmsSmartleasingBuilding>> getLikeBuildingName(QueryCriteria queryCriteria, String token);

    Result<List<CcmsSmartleasingBuilding>> getAllHouses(QueryCriteria queryCriteria, String token);

    Result<CcmsSmartleasingBuilding> getHousesById(String pkBuildingId, String token);

    Result addHouses(CcmsSmartleasingBuilding building, String token);

    Result updateHouses(CcmsSmartleasingBuilding building, String token);

    Result deleteHouses(String token, String deleteId);

    Result<List<CcmsSmartleasingBuilding>> getAll(String token);

    Result<CcmsSmartleasingBuilding> getAllByBuildingId(String pkBuildingIds, String token);

    Result<List<CcmsSmartleasingBuilding>> getAllByAreaNumberId(String areaNumberId, String token);
}
